package com.kmist.xiakexing.data;

import com.kmist.xiakexing.utils.UserBean;
import com.kmist.xiakexing.utils.scene.PlayerBean;

public abstract interface IPlayerDaoCallback {

    /**
     * 添加结果回调
     */
    abstract void onPlayerAdded();
    abstract void onPlayerAddError();

    /**
     * 删除结果回调
     */
    abstract void onPlayerDeled();
    abstract void onPlayerDelError();

    /**
     * 查找结果回调
     * @param playerBean
     */
    abstract void onPlayerLoaded(PlayerBean playerBean);
    abstract void onPlayerLoadErr();
    abstract void onPlayerLoadEmpty();

    /**
     * 更新数据结果回调
     */
    abstract void onPlayerUpdateOK();
    abstract void onPlayerUpdateErr();

}
